home *** CD-ROM | disk | FTP | other *** search
/ Creative Computers / Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso / text / hacks / faccpatch < prev    next >
Text File  |  1994-11-17  |  3KB  |  60 lines

  1.  
  2.  
  3. Message-ID: #5978.pnet02.amiga/usenet 2414 chars. (38 more)
  4. From: ebr@io.UUCP (Evan B. Ross)
  5. Newsgroups: comp.sys.amiga
  6. Subject: HaccII... FaccII for harddisks
  7. Date: 18 Feb 88 22:14:49 GMT
  8. Reply-To: ebr (Evan B. Ross)
  9. Organization: Structured Home for Disturbed Programmers
  10.  
  11.         How to patch FaccII to work with your hard disk.
  12.  
  13.         I performed the following patch on my copy of FaccII and now have
  14.         it working with my harddisk. I thought I'd pass it along to help
  15.         anyone else who might be brave enough to try it.  I do, however,
  16.         issue the following cautions:
  17.  
  18.                 I only have one disk (dh0:).  I do not know if this patch
  19.                 will work with more than one unit.
  20.  
  21.                 My driver came from the Palomax -MAX- package. I don't know
  22.                 if this will work with other drivers.
  23.  
  24.                 You cannot run a patched version simultaneously with an
  25.                 unpatched version. This means that to use FaccII to cache
  26.                 your harddisk, you sacrifice the ability to cache your
  27.                 floppies. (it could be done with additional patches, but
  28.                 I haven't done it yet).
  29.  
  30.                 I've only had this working a little while, so caveat emptor.
  31.  
  32.         I used filezap to patch the faccii executable, so I will give the
  33.         instructions in its 'language':
  34.  
  35.         1) Change the driver strings.  At record 8, offset 0x1e and record 9,
  36.            offset 0x0c there are two asciz strings which say
  37.            "trackdisk.device".  Change the strings to the proper name for
  38.            your driver.  In my case it was "hd.device".  DO NOT LENGTHEN
  39.            THESE STRINGS!! You'd overwrite necessary code.
  40.  
  41.         2) At record 1, offset 42 insert the following hex words:
  42.                 206f, 0004, 4cef, 0201, 0008, 222f,
  43.                 0010, 7001, 8142, 4eee, fe44
  44.            This overwrites the copyright string at the start of the file,
  45.            and provides a 'tweaked' call to OpenDevice.  FaccII tries to
  46.            open the trackdisk driver with unit zero, but harddisks start
  47.            at unit one.  This patch performs the proper register loading,
  48.            but then forces the unit number to one.
  49.  
  50.         3) Patch the call to OpenDevice to use my tweaked version.  Do this
  51.            by changing the longword at record 7, offset 0xea from 0x00001d34
  52.            to 0x0000001a.
  53.  
  54.         That's all there is to it.  If I come up with any further news, I'll
  55.         pass it along.
  56.  
  57.     ...!harvard!umb!ileaf!ebr   Evan B. Ross, Interleaf, Cambridge, Ma
  58.       ...!sun!sunne!ileaf!ebr           (617)577-9813 x5570
  59.  
  60.